package com.control.qct.businesssteward.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/3/15 0015.
 */

public class OrderListModel implements Serializable{

    private int pageNum;
    private int pageCount;
    private int pageSize;
    private int collectinSize;
    private String footers;
    private List<DatasBean> datas;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getCollectinSize() {
        return collectinSize;
    }

    public void setCollectinSize(int collectinSize) {
        this.collectinSize = collectinSize;
    }

    public String getFooters() {
        return footers;
    }

    public void setFooters(String footers) {
        this.footers = footers;
    }

    public List<DatasBean> getDatas() {
        return datas;
    }

    public void setDatas(List<DatasBean> datas) {
        this.datas = datas;
    }

    public static class DatasBean {
        /**
         * id : 14720
         * orderId : 0000000100016002018042300011
         * orderSn : 00016002018042300011
         * orderSnDisp : 002018042300011
         * productCount : 1
         * amount : 15
         * state : 待收款
         * details : [{"barcode":"112233","title":"12331331","unit":"包","purchaseNumber":1,"imageUrl":"http://test
         * .erp.qcterp.com/Attachs/productimgs/201803/f76397a431014a3c80b6726fb9a7b79c_s.jpg"}]
         */

        private int id;
        private String orderId;
        private String orderSn;
        private String orderSnDisp;
        private int productCount;
        private double amount;
        private String state;
        private List<DetailsBean> details;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getOrderId() {
            return orderId;
        }

        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }

        public String getOrderSn() {
            return orderSn;
        }

        public void setOrderSn(String orderSn) {
            this.orderSn = orderSn;
        }

        public String getOrderSnDisp() {
            return orderSnDisp;
        }

        public void setOrderSnDisp(String orderSnDisp) {
            this.orderSnDisp = orderSnDisp;
        }

        public int getProductCount() {
            return productCount;
        }

        public void setProductCount(int productCount) {
            this.productCount = productCount;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public List<DetailsBean> getDetails() {
            return details;
        }

        public void setDetails(List<DetailsBean> details) {
            this.details = details;
        }

        public static class DetailsBean {
            /**
             * barcode : 112233
             * title : 12331331
             * unit : 包
             * purchaseNumber : 1
             * imageUrl : http://test.erp.qcterp.com/Attachs/productimgs/201803/f76397a431014a3c80b6726fb9a7b79c_s.jpg
             */

            private String barcode;
            private String title;
            private String unit;
            private int purchaseNumber;
            private String imageUrl;

            public String getBarcode() {
                return barcode;
            }

            public void setBarcode(String barcode) {
                this.barcode = barcode;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public int getPurchaseNumber() {
                return purchaseNumber;
            }

            public void setPurchaseNumber(int purchaseNumber) {
                this.purchaseNumber = purchaseNumber;
            }

            public String getImageUrl() {
                return imageUrl;
            }

            public void setImageUrl(String imageUrl) {
                this.imageUrl = imageUrl;
            }
        }
    }
}
